//
//  Const.swift
//  yunshang
//
//  Created by zw on 2017/10/11.
//  Copyright © 2017年 zev. All rights reserved.
//

import Foundation
import UIKit

let appDelegate = (UIApplication.shared.delegate) as! AppDelegate
let userDefaults = UserDefaults.standard

// 状态栏高度
let statusbarHeight : CGFloat = UIApplication.shared.statusBarFrame.height

// 颜色
let deepBlackColor = UIColor.withHex(hexString: "333333")
let middleBlackColor = UIColor.withHex(hexString: "666666")
let lightBlackColor = UIColor.withHex(hexString: "999999")
let zwBackgroundColor = UIColor.withHex(hexString: "F3F3F3")
let lineColor = UIColor.withHex(hexString: "CCCCCC")
let lightGrayColor = UIColor.withHex(hexString: "F1F1F1")
let yellowColor = UIColor.withHex(hexString: "FFE300")
let blueColor = UIColor.withHex(hexString: "478ff7")
let greenColor = UIColor.withHex(hexString: "64ca71")
let redColor = UIColor.withHex(hexString: "fe1f02")
let grayColor = UIColor.withHex(hexString: "d5d8e0")
let coffeeColor = UIColor.withHex(hexString: "ead7ac")
let blackColor = UIColor.withHex(hexString: "2f2f2f")

//user_default
let kDEVICE = "kDEVICE"
let kTOKEN = "kTOKEN"
let kNETWORK_LOG = "kNETWORK_LOG"

//全局通知
let kLOGIN_SUCCESS = "kLOGIN_SUCCESS"
let kLOGOUT = "kLOGOUT"

//String
let NETWORK_ERROR = "网络连接失败"

let kBASE_URL = "kBASE_URL"

//Int
let PAGE_SIZE = 20

 
